package Com.amit.Exception;

class Amit1
{
	void m1()
	{
		System.out.println("Amit");
	}
}

public class Lab23  extends Amit1{

	void m1()throws ArithmeticException
	{
		System.out.println("Anil");
	}
	public static void main(String[] args) {
		
		Amit1 a1=new Lab23();
		a1.m1();
		

	}

}
